﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="new.aspx.cs" Inherits="AnyOffice.general.meeting.room._new" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title></title>
		
		<meta name="CODE_LANGUAGE" Content="C#">
		<meta name="vs_defaultClientScript" content="JavaScript">
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
		<script Language="JavaScript">		
		function CheckForm()
		{
			if (document.Form1.txtName.value=="")
			{
				alert("名称不能为空！");
				document.Form1.txtName.focus();
				return (false);
			}		
			return true;
		}		
		</script>
	</HEAD>
	<body class="bodycolor" topMargin="5">
		<form id="Form1" method="post" runat="server">
         <div class="main_div">
			<table border="0" width="90%" cellspacing="0" cellpadding="3" class="small">
				<tr>
					<td class="tab_ti">
						<span class="big3">
							添加会议室</span>
					</td>
				</tr>
			</table>
			<asp:Panel id="pnlMain" runat="server">
				<TABLE width="500" cellSpacing="0" cellPadding="0" border="0" class="tab_pub" align="center">
					<TR>
						<TD class="ta_bg">名称：</TD>
						<TD class="ta_txt"><INPUT class="BigInput" id="txtName" type="text" maxLength="50" size="40" name="txtName"
								runat="server"></TD>
					</TR>
					<TR>
						<TD class="ta_bg">可容纳人数：</TD>
						<TD class="ta_txt"><INPUT class="BigInput" id="txtCapacity" type="text" maxLength="50" size="10" name="txtCapacity"
								runat="server"></TD>
					</TR>
					<TR>
						<TD class="ta_bg">设备情况：</TD>
						<TD class="ta_txt"><TEXTAREA class="BigInput" id="txtDevice" name="txtDevice" rows="2" cols="45" runat="server"></TEXTAREA>
						</TD>
					</TR>
					<TR>
						<TD class="ta_bg">会议室描述：</TD>
						<TD class="ta_txt"><TEXTAREA class="BigInput" id="txtDescription" name="txtDescription" rows="2" cols="45" runat="server"></TEXTAREA>
						</TD>
					</TR>
					<TR>
						<TD class="ta_bg">地点：</TD>
						<TD class="ta_txt"><INPUT class="BigInput" id="txtPlace" type="text" maxLength="50" size="40" name="txtPlace"
								runat="server"></TD>
					</TR>
					<TR align="center">
						<TD colSpan="2" class="bnt_con"><INPUT class="BigButton" onClick="return CheckForm();" type="submit" value="提 交">
							<INPUT class="BigButton" onClick="location='index.aspx';" type="button" value="返 回">
						</TD>
					</TR>
				</TABLE>
				<BR>
			</asp:Panel>
			<asp:Literal id="litMessage" runat="server"></asp:Literal>
            </div>
		</form>
	</body>
</HTML>
